package com.example.soa_exp2.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class Equipment {
    @TableId(type = IdType.ASSIGN_ID)
    @NotNull(message = "用户ID不能为空")
    @JsonIgnore
    private String equipmentid;

    private String equipmentname;

    private int quantity;

    private String location;
}
